package com.qdx.qiuzidao;

public final class Message {
    public String roomId = "";
    public String userId = "";
    public String userAvatar = "";
    public String userName = "";
    public String message = "";
    public String messageId = "";
    public int status = 0;

    public Message(String roomId,String userId, String userName, String userAvatar, String message, String messageId,MessageType status) {
        this.roomId = roomId;
        this.userId = userId;
        this.userName = userName;
        this.userAvatar = userAvatar;
        this.message = message;
        this.messageId = messageId;
        this.status = status.getValue();
    }
}
